package com.qu.waibao.my.fragment;

import android.os.Bundle;

import com.qu.waibao.base.BaseViewPagerFragment;

/**
 * @描述 describe
 * @作者 Administrator
 * @创建时间 2018/7/25 17:35
 * @邮箱 1123599561@qq.com
 */
public class CouponViewPageFragment extends BaseViewPagerFragment {
    @Override
    protected PagerInfo[] getPagers() {
        return new PagerInfo[]{
                new PagerInfo("未使用",CouponFragment.class,getBundle("1")),
                new PagerInfo("已使用",CouponFragment.class,getBundle("3")),
                new PagerInfo("已过期",CouponFragment.class,getBundle("2"))
        };
    }
    private Bundle getBundle(String type) {
        Bundle bundle = new Bundle();
        bundle.putString("type",type);
        return bundle;
    }
}
